package com.nintendo.mapper;

import com.nintendo.entity.Content;
import com.nintendo.entity.Doc;
import com.nintendo.entity.Ebook;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EbookMapper {
    // 根据名称模糊查询
    Ebook selectByName(String name);

    List<Doc> findDocByEbookId(Long ebookId);

    List<Content> findContentByIds(List<Long> contentIds);
}
